package com.example.demo.dao;

import com.example.demo.utils.MybatisUtils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

public class mybatistest {

    @Test
    public void test(){
        SqlSession sqlSession = MybatisUtils.getSqlSession();
        empmapper mapper = sqlSession.getMapper(empmapper.class);
        System.out.println(mapper.getEmpList());
    }
}
